#!/bin/bash
wget https://www.haproxy.org/download/3.0/src/haproxy-3.0.2.tar.gz
sleep  1
docker build -t haproxy:1.0 .
sleep 1
docker run -d -p 9999:9999 -p 80:80 harbor.mageedu.com/m43/haproxy:1.0

echo "http://$(hostname -I)/haproxy-status"